
import { useNavigate } from 'react-router'
export default function useShowPlaylistDetail() {
  const navigator = useNavigate()
  const goToPlaylistDetail = id => {
    navigator(`/discover/playlistDetail/${id}`)
  }
  return goToPlaylistDetail
}
